import request from "@/utils/request";
// 获取工单详情
export const getGdxqApi = (start,end) =>
  request({
    url: `/task-service/task/taskReportInfo/${start}/${end}`,
    method: "get",
  });
export const getList = ()=> request({
  url:'/user-service/role'
})
// 获取人员列表
export const getperopeList = (start,end)=> request({
  url:'/order-service/report/orderCount',
  params:{
    start,
    end
  }
})
// 获取销售
export const getXs = (start,end) => request({
  url:'/order-service/report/orderAmount',
  params:{
    start,
    end
  }
})
// 获取商品热帮
 export const getRem = (topValue,start,end) => request({
  url:`/order-service/report/skuTop/${topValue}/${start}/${end}`
 })
// 折现图统计
export const zxTj = (collectType,start,end) => request({
  url:`/order-service/report/amountCollect/${collectType}/${start}/${end}`
})
// 柱状图
export const zzT = (start,end) => request({
  url:`/order-service/report/regionCollect/${start}/${end}`
})